Action hook 'update_option_{$option}'

in WP Core File wp-includes/option.php at line 999

Description

Fires after the value of a specific option has been successfully updated. The dynamic portion of the hook name, `$option`, refers to the option name.

Occurrences

Filename Line Number
wp-includes/option.php 999

Parameters

Type Name Description
mixed $old_value The old option value.
mixed $value The new option value.
string $option Option name.

PHP Doc

/**
	 * Fires after the value of a specific option has been successfully updated.
	 *
	 * The dynamic portion of the hook name, `$option`, refers to the option name.
	 *
	 * @since 2.0.1
	 * @since 4.4.0 The `$option` parameter was added.
	 *
	 * @param mixed  $old_value The old option value.
	 * @param mixed  $value     The new option value.
	 * @param string $option    Option name.
	 */